package cn.com.taurus.impl;

import cn.com.taurus.bean.RedeemMessageBean;
import cn.com.taurus.entity.FundValueChange;
import cn.com.taurus.mapper.FundValueChangeMapper;
import cn.com.taurus.service.FundValueChangeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zhy
 * @createTime 2021-6-3 20:49:18
 * @remark 基金经理层
 * @version 1.0
 */
@Service
public class FundValueChangeImpl implements FundValueChangeService {
    @Autowired
    FundValueChangeMapper fundValueChangeMapper;

    @Override
    public int selectFvcid() {
        return fundValueChangeMapper.selectFvcid();
    }

    @Override
    public void addFundValueChange(List<FundValueChange> fundValueChangeData) {
        fundValueChangeMapper.addFundValueChange(fundValueChangeData);
    }

    @Override
    public List<FundValueChange> selectFundValueChange(String fId) {
        return fundValueChangeMapper.selectFundValueChange(fId);
    }

    @Override
    public int updateFundValueChange(FundValueChange fundValueChange){
        return fundValueChangeMapper.updateFundValueChange(fundValueChange);
    }

    @Override
    public int deleteFundValueChange(Integer fvcId){
        return fundValueChangeMapper.deleteFundValueChange(fvcId);
    }

    @Override
    public List<FundValueChange> selectFundValueChangeAll(){
        return fundValueChangeMapper.selectFundValueChangeAll();
    }

    @Override
    public List<FundValueChange> conditionSelectFundValueChange(String fvcDwjz, String fId, String fvcChange){
        return fundValueChangeMapper.conditionSelectFundValueChange(fvcDwjz,fId,fvcChange);
    }
}
